package com.sugar.subscribe.course.module.business.controller.admin.serviceclass.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 服务分类新增/修改 Request VO")
@Data
public class ServiceClassUpdateStatusReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "5381")
    @NotNull(message = "唯一标识不能为空")
    private Long id;

    @Schema(description = "首页推荐（0否 1是）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "首页推荐不能为空")
    private Boolean homeRecommend;
}